#-------------------------------------------------------------------------------
# Name:
# Purpose:
#
# Author:      vavava
#
# Created:     19/10/2012
# Copyright:   (c) vavava 2012
# Licence:     <your licence>
#-------------------------------------------------------------------------------

import urllib.parse
import urllib.request
import urllib.response

class SpiderHttpRequester(object):
    def __init__(self):
        pass

    def Get(self,url,cookie=None):
        self.response = urllib.request.urlopen(url)
        self.content = self.response.read()
        return self.content

    def Post(self,url,post_data,cookie=None):


def main():
    url = 'http://auspost.com.au/track/track.html?id=UCL0003192'
    get = SpiderHttpRequester()
    print( get.Get(url) )

if __name__ == '__main__':
    main()
